package com.cathyjava.easyflows.work.impl;

import com.cathyjava.easyflows.WorkStatus;
import com.cathyjava.easyflows.work.Work;
import com.cathyjava.easyflows.work.WorkContext;
import com.cathyjava.easyflows.work.WorkReport;

/**
 * @author chenjing
 * @date 2021/5/8
 */
public class NoOpWork implements Work {
    @Override
    public WorkReport execute(WorkContext workContext) {
        return new DefaultWorkReport(WorkStatus.COMPLETED,workContext);
    }
}
